package cn.net.model;

import java.io.Serializable;
import java.util.List;
import java.util.concurrent.Callable;

public class ReturnObject implements Serializable, Callable<Object> {

//	public Long getGuid() {
//		return guid;
//	}
//
//	public void setGuid(Long guid) {
//		this.guid = guid;
//	}
//
//	public DateTime getSearch_Time() {
//		return search_Time;
//	}
//
//	public void setSearch_Time(DateTime search_Time) {
//		this.search_Time = search_Time;
//	}
//
//	public String getCacheKey() {
//		return CacheKey;
//	}
//
//	public void setCacheKey(String cacheKey) {
//		CacheKey = cacheKey;
//	}

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<Routing> getRoutings() {
        return routings;
    }

    public void setRoutings(List<Routing> routings) {
        this.routings = routings;
    }

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    // 主键
//	private Long guid;

    //查询时间
//	private DateTime search_Time;

    //cacheKey
//	private String CacheKey;

    //状态   0成功 1失败
    private int status;

    //提示信息
    private String msg;

    private List<Routing> routings;

    @Override
    public Object call() throws Exception {

        return null;
    }

    @Override
    public String toString() {
        return "ReturnObject{" +
                "status=" + status +
                ", msg='" + msg + '\'' +
                ", routings=" + routings +
                '}';
    }
}
